#include "unit--.h"
#include "../WMIReader.h"
#include "../WConstants.h"
#include<iostream>

using namespace unit_minus;

testSuite(POCSuite);

testCase(WMIReaderRegistryTest,POCSuite)
{
    cout << "---------- Start Registry Test ----------" << endl;
	WMIReader read ;
	read.initConexion();

	WMIResult<WRegistry> res;
    read.getRegistryChildren(EMPTY_PATH, res);
	res.showObjects();	

	
	assertTrue(res.getObjects().size() >= 0);
	read.closeConnection();

    cout << "---------- End Share Test ----------" << endl << endl;
    system("PAUSE");
}
